package businessLogic.promotion;

import java.util.ArrayList;
import java.util.Date;

import vo.*;


public class CMan_PromotionBL_Stub implements CMan_PromotionBLService{
	double value;
	double discount;
	ArrayList<VO_Coupon> couponList=new ArrayList<VO_Coupon>();
	ArrayList<VO_IntegralExchange>  integralExchangeList;
	ArrayList<VO_EquivalencePaper> equivalencePaperList;
	ArrayList<VO_DiscountPaper>  discountPaperList;
	String memberID;


	public ArrayList<VO_IntegralExchange> showExistedIntegralRule(){
		integralExchangeList = new ArrayList<VO_IntegralExchange>();
		integralExchangeList.add(new VO_IntegralExchange(100,1,"2012-10-10","2012-11-10"));
		return integralExchangeList;
	}

	public boolean setIntegralExchangeRule(VO_IntegralExchange vo){
		return true;
	}

	public ArrayList<VO_EquivalencePaper> showExistedEquivalence(){
		equivalencePaperList = new ArrayList<VO_EquivalencePaper>();
		equivalencePaperList.add(new VO_EquivalencePaper(0,100,20,40,"2012-10-10","2012-11-10"));
		return equivalencePaperList;
	}

	public boolean setEquivalence(VO_EquivalencePaper vo){
		return true;
	}

	public ArrayList<VO_DiscountPaper> showExistedDiscount(){
		discountPaperList = new ArrayList<VO_DiscountPaper>();
		discountPaperList.add(new VO_DiscountPaper(0,100,0.8,"2012-10-10","2012-11-10"));
		return discountPaperList;
	}

	public boolean setDiscount(VO_DiscountPaper vo){
		return true;
	}

	public boolean deleteStrategy(int index){
		return true;
	}

}
